import type { App } from 'vue'

import 'primevue/resources/themes/saga-blue/theme.css' //theme
import 'primevue/resources/primevue.min.css' //core css

import PrimeVue from 'primevue/config'

import ToastService from 'primevue/toastservice'
import Ripple from 'primevue/ripple'

export default function usePrimeVue(app: App) {
    app.use(PrimeVue, { ripple: true })
    app.directive('ripple', Ripple)
    app.use(ToastService)
}
